package ru.ipccenter.jshell.backend.server;

import java.util.ArrayList;
import java.util.List;

import ru.ipccenter.jshell.backend.client.ImportWidget.ImportWidgetUpdater;
import ru.ipccenter.jshell.backend.shared.ClassState;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;



public class ImportWidgetUpdaterImpl extends RemoteServiceServlet implements
    ImportWidgetUpdater {

  private static final long serialVersionUID = 1117846252338039738L;

  @Override
  public String update(ClassState state, String className) {
    
    return className + state;
  }

  @Override
  public List<String> getCustomClasses() {
    
    List <String> classes = new ArrayList<String>(); 
    classes.add("Test");
    
    return classes;
  }

  @Override
  public List<String> getNativeClasses() {

    return null;
  }
}
